<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!-- <script type="text/javascript">
$().ready(function() {
	$("#myForm").validate({
		//验证规则
		rules : {
			pwd1 : {
				required : true,
				equalTo : '#ymm'
			},
			pwd : 'required',
			pwd2 : {
				required : true,
				equalTo : "#pwd"
			},
		},
		//错误提示
		messages : {
			pwd1 : {
				required : '没有填写旧密码！',
				equalTo : '旧密码输入错误！'
			},
			pwd : '请填写新密码！',
			pwd2 : {
				required : '没有确认密码！',
				equalTo : '两次密码输入不一致！'
			}
		}
	});
});
</script> -->
<style type="text/css">
#bt_4 {
	width: 400px;
	margin: 100px 600px;
	text-align: right;
}

#bt_5 {
	text-align: center;
	width: 200px;
	margin-left: 100px;
	margin-top: 20px
}

samp {
	font-family: "隶书";
	font-size: 30px;
	float: left;
}
input {
	margin-right: 30px;
	width: 200px;
	height: 40px;
	margin-top: 20px;
	font-family: "隶书";
	font-size: 30px;
}
</style>
<form action="modifypwd1?id=${stu.id}" method="post" name="form" id="myForm">
	<input type="hidden" value="${str.password}" id="ymm">
	<div id="bt_4">
		<samp>旧密码：</samp>
		<input type="text" id="pwd1" name="pwd1" class="form-control" width="100px"><br />
		<samp>新密码：</samp>
		<input type="text" id="pwd" name="pwd" class="form-control"><br />
		<samp>确认密码：</samp>
		<input type="text" id="pwd2" name="pwd2" class="form-control"><br />
		<div id="bt_5">
			<button type="submit" class="btn btn-primary btn btn-sm btn-lg bbb">提交</button>
			&emsp;&emsp;&emsp;
			<button type="reset" class="btn btn-primary btn btn-sm btn-lg bbb">重置</button>
		</div>
	</div>
</form>